Interface GraphReader

  • All Known Implementing Classes:
    SIFGraphIO, SimpleGraphIO

    public interface GraphReader
    Interface used for classes designed to read graphs from memory.
    Version:
    3.0 May 20, 2015
    Author:
    Charles Allen Schultz II
    • Method Detail

      • parseGraph

        Graph parseGraph​(java.io.File source,
                         boolean undirected)
        Reads a graph from memory.
        Parameters:
        source - the File object pointing to the graph in memory to read.
        undirected - a boolean indicating if the graph should be interpreted as undirected.
        Returns:
        the Graph object read from memory.